package com.artlongs.webapp.user.service;

import com.artlongs.base.vo.BizRetVo;
import com.artlongs.webapp.user.model.User;
import org.neo4j.graphdb.Node;

import java.util.Collection;

public interface UserService {

    public static String NOTIC_CREATE_USER = "notic_create_user";

    public User get(Long id);
    public Node getNode(Long id);

	public long countUsers();
	
	public User createUserByName(String name,String birthday);
	
	public Iterable<User> getAllUsers();

	public Iterable<User> findAllByAge(int age);
	
	public Collection<User> makeSomeUsers();

    public BizRetVo register(User user);

    public BizRetVo update(User user);
}
